package com.example.demothree.dao;

import com.example.demothree.bean.PurchaseOrder;
import com.example.demothree.bean.SaleOrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface SaleOrderDao extends JpaRepository<SaleOrder,Long> {
    @Query("from SaleOrder where id =?1")
    public SaleOrder findBy(Long id);
}
